package provatable;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the CANALE database table.
 * 
 */
@Entity
@NamedQuery(name="Canale.findAll", query="SELECT c FROM Canale c")
public class Canale implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private long oid;

	private String facebook;

	private String googleplus;

	private String instagram;

	private String soundcloud;

	private String twitter;

	private String youtube;

	//bi-directional many-to-one association to User
	@ManyToOne
	private User user;

	public Canale() {
	}

	public long getOid() {
		return this.oid;
	}

	public void setOid(long oid) {
		this.oid = oid;
	}

	public String getFacebook() {
		return this.facebook;
	}

	public void setFacebook(String facebook) {
		this.facebook = facebook;
	}

	public String getGoogleplus() {
		return this.googleplus;
	}

	public void setGoogleplus(String googleplus) {
		this.googleplus = googleplus;
	}

	public String getInstagram() {
		return this.instagram;
	}

	public void setInstagram(String instagram) {
		this.instagram = instagram;
	}

	public String getSoundcloud() {
		return this.soundcloud;
	}

	public void setSoundcloud(String soundcloud) {
		this.soundcloud = soundcloud;
	}

	public String getTwitter() {
		return this.twitter;
	}

	public void setTwitter(String twitter) {
		this.twitter = twitter;
	}

	public String getYoutube() {
		return this.youtube;
	}

	public void setYoutube(String youtube) {
		this.youtube = youtube;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}